from flask import Flask, render_template
from flask_pymongo import PyMongo

app = Flask(__name__)
app.config['DEBUG'] = True  # 开启 debug	
mongo = PyMongo(app, uri="mongodb://localhost:27017/wordKeys")  # 开启数据库实例
